package dryworks.jsf.examples.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class SiteForExamples {
	public static final String defaultJavaSourceFolderForExamplesManagedBeanName = "examplesbeans";

	public static final String defaultExamplesFacesConfigFilesFolderName = "examplesFacesConfigFiles";

	public static final String defaultResourcesFolderName = "res";

	String projectName;

	String javaSourceFolderForExamplesManagedBeanName = defaultJavaSourceFolderForExamplesManagedBeanName;

	String examplesFacesConfigFilesFolderName = defaultExamplesFacesConfigFilesFolderName;

	String resourcesFolderName = defaultResourcesFolderName;

	List<String> languages;

	List menuTopCategories;

	Map examples;

	public Map getExamples() {
		return examples;
	}

	public void setExamples(Map examples) {
		this.examples = examples;
	}

	public String getJavaSourceFolderForExamplesManagedBeanName() {
		return javaSourceFolderForExamplesManagedBeanName;
	}

	public void setJavaSourceFolderForExamplesManagedBeanName(
			String javaSourceFolderForExamplesManagedBeanName) {
		this.javaSourceFolderForExamplesManagedBeanName = javaSourceFolderForExamplesManagedBeanName;
	}

	public List<String> getLanguages() {
		if (languages == null) {
			languages = new ArrayList<String>();
			languages.add("");
			languages.add("iw");
		}
		return languages;
	}

	public void setLanguages(List<String> languages) {
		this.languages = languages;
	}

	public List getMenuTopCategories() {
		return menuTopCategories;
	}

	public void setMenuTopCategories(List menuTopCategories) {
		this.menuTopCategories = menuTopCategories;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getExamplesFacesConfigFilesFolderName() {
		return examplesFacesConfigFilesFolderName;
	}

	public void setExamplesFacesConfigFilesFolderName(
			String examplesFacesConfigFilesFolderName) {
		this.examplesFacesConfigFilesFolderName = examplesFacesConfigFilesFolderName;
	}

	public String getResourcesFolderName() {
		return resourcesFolderName;
	}

	public void setResourcesFolderName(String resourcesFolderName) {
		this.resourcesFolderName = resourcesFolderName;
	}
}
